package cn.iocoder.yudao.module.ems.convert.classification;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.ems.controller.admin.classification.vo.*;
import cn.iocoder.yudao.module.ems.dal.dataobject.classification.ClassificationDO;

/**
 * 分类 Convert
 *
 * @author dason
 */
@Mapper
public interface ClassificationConvert {

    ClassificationConvert INSTANCE = Mappers.getMapper(ClassificationConvert.class);

    ClassificationDO convert(ClassificationCreateReqVO bean);

    ClassificationDO convert(ClassificationUpdateReqVO bean);

    ClassificationRespVO convert(ClassificationDO bean);

    List<ClassificationRespVO> convertList(List<ClassificationDO> list);

    PageResult<ClassificationRespVO> convertPage(PageResult<ClassificationDO> page);

//    List<ClassificationExcelVO> convertList02(List<ClassificationDO> list);

    List<ClassificationSimpleRespVO> convertList02(List<ClassificationDO> list);

}
